package com.apac.bom;

import java.io.Serializable;
import javax.persistence.*;
import java.util.List;


/**
 * The persistent class for the report_tbl database table.
 * 
 */
@Entity
@Table(name="report_tbl")
public class Report extends AbstractBOM implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="RPRT_CODE")
	private int rprtCode;

	@Column(name="RPRT_ENT_LBL")
	private String rprtEntLbl;

	//bi-directional many-to-one association to AccountReport
	@OneToMany(mappedBy="report")
	private List<AccountReport> accountReports;

	public Report() {
	}

	public int getRprtCode() {
		return this.rprtCode;
	}

	public void setRprtCode(int rprtCode) {
		this.rprtCode = rprtCode;
	}

	public String getRprtEntLbl() {
		return this.rprtEntLbl;
	}

	public void setRprtEntLbl(String rprtEntLbl) {
		this.rprtEntLbl = rprtEntLbl;
	}

	public List<AccountReport> getAccountReports() {
		return this.accountReports;
	}

	public void setAccountReports(List<AccountReport> accountReports) {
		this.accountReports = accountReports;
	}

}